API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Time
GlobalTimerManager.h
1
// GlobalTimerManager.h
3
//
5
6
namespace
nkGraphics
7
{
13
class
DLL_GRAPHICS_EXPORT
GlobalTimerManager
:
public
nkCommon::SingletonClass<GlobalTimerManager>
14
{
15
public :
16
23
GlobalTimer
*
createOrRetrieve
(
RenderContext
* forContext) ;
24
29
void
prepareForContext
(
RenderContext
* context) ;
30
34
GlobalTimer
*
getActiveTimer
()
const
;
35
} ;
36
}
nkGraphics::GlobalTimerManager::getActiveTimer
GlobalTimer * getActiveTimer() const
nkGraphics::GlobalTimerManager::prepareForContext
void prepareForContext(RenderContext *context)
nkGraphics::RenderContext
A rendering context, attached to a graphic window to present to the screen.
Definition:
RenderContext.h:12
nkGraphics::GlobalTimerManager::createOrRetrieve
GlobalTimer * createOrRetrieve(RenderContext *forContext)
nkGraphics::GlobalTimerManager
Manages the timers attached to contexts. Usually timers can be useful for deltas of frames.
Definition:
GlobalTimerManager.h:14
nkGraphics::GlobalTimer
A timer, giving time capabilities.
Definition:
GlobalTimer.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
Generated by
Doxygen
1.8.18